WARNING: This program has a bug which means we need to fix it!

Integers are not surrounded by quotes. Strings must always be surrounded by quotes.

  • Click Run and read the error message.
  • Fix one error by removing quotes and the other error by adding quotes to debug the program so that it draws a plum colored star.
  • Click Run to see your changes and Submit and Next when you are done.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# sprite = codesters.Star(x, y, points, radius, "color") sprite = codesters.Star(0, 0, 7, "100", plum)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)